package com.wangsai.framework.supersecurity.satoken;

import com.wangsai.framework.supersecurity.core.config.SuperSecurityConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Mr.Wang
 * @date 2021-08-14 23:54
 */
@Configuration
public class SuperSecurityAutoConfiguration {

    @Bean
    @ConfigurationProperties(prefix = "super.security")
    public SuperSecurityConfig superSecurityConfig() {
        return new SuperSecurityConfig();
    }

}